package user;
import book.*;
import ioperations.*;
//import ioperations.*;

public abstract class User {
    protected String name;
    protected IOperation[] ioperation;

    //这个构造方法是为了方便子类给父类初始化的
    public User(String name) {
        this.name = name;
    }

    public abstract int nemu();

    public void doIoperation(int choice, bookList BookList) {
        ioperation[choice].work(BookList);
    }


}


